package com.panshi.mapper;

import com.panshi.api.bean.AnswerAuditHDBean;
import com.panshi.api.util.PageSizeVO;
import com.panshi.pojo.AnswerAuditHDVO;
import io.swagger.annotations.Api;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author XiaoWangYa
 * @version 1.0
 * @date 2020/8/10 0010 上午 10:36
 */
@Mapper
@Repository
@Api("回答未审核Mapper层")
public interface AnswerAuditHDMapper {
    // 新增回答审核数据
    void addAnswerAuditHDInfo (AnswerAuditHDBean answerAuditHDBean);

    // 删除回答审核数据
    void deleteAnswerAuditHDInfo (@Param("id") int id);

    // 查询指定问答下未审核回答 and 指定用户回答未审核数据
    List<AnswerAuditHDVO> queryAssignAuditHDQuestionAnswerInfo (PageSizeVO pageSizeHDBean);

    // 修改回答审核
    void updateAnswerAuditHDInfo (AnswerAuditHDBean answerAuditHDBean);
}
